package com.zhuangjie.coupon.enums;

/**
 *  发放类型
 *
 * @author zhuangjie
 * @date 2024/03/03
 */
public enum IssuedType {
    PLATFORM_COUPON((byte)0, "平台卷"),
    SHOP_COUPON((byte)1, "店铺卷");

    private byte code;
    private String name;

    private IssuedType(byte code, String name) {
        this.code = code;
        this.name = name;
    }

    public byte getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
